using ZR.Model;
using ZR.Model.Dto.Business.ProductionControl;
using ZR.Model.Models.ProductionControl;

namespace ZR.Service.IService.ProductionControl
{
    /// <summary>
    /// 通信配置service接口
    /// </summary>
    public interface ICommunicationConfigService : IBaseService<CommunicationConfig>
    {
        PagedInfo<CommunicationConfigDto> GetList(CommunicationConfigQueryDto parm);

        CommunicationConfig GetInfo(int Id);

        CommunicationConfig AddCommunicationConfig(CommunicationConfig parm);

        int UpdateCommunicationConfig(CommunicationConfig parm);

        List<CommunicationConfig> QueryByOpAndLine(string code, string line);
    }
}